//
//  PopoverPresentationVC.swift
//  LXQWB
//
//  Created by 江海天 on 2017/7/6.
//  Copyright © 2017年 江海天. All rights reserved.
//

import UIKit

class PopoverPresentationVC: UIPresentationController {
	override func containerViewWillLayoutSubviews() {
		//添加蒙版
		
				presentedView?.frame = CGRect(x: 50, y: 45, width: 200, height: 200)
		containerView?.subviews.first?.frame = UIScreen.main.bounds
		
	}
//			lazy	var btnOver = { () -> UIButton in 
//		let btn = UIButton()
//		btn.addTarget(self, action: #selector(over(sender:)), for: .touchUpInside)
//		return btn
//	}()

}
